﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FW.Core.Model;

namespace FW.Data
{
    public class FWContext : DbContext
    {
        public FWContext()
        {
            Database.SetInitializer<FWContext>(new DropCreateDatabaseIfModelChanges<FWContext>());
        }

        public DbSet<Film> Films { get; set; }
        public DbSet<Actor> Actors { get; set; }
    }
}
